/* 页面整体布局 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8; /* 浅蓝色背景 */
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: #ffffff; /* 白色容器背景 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* 标题样式 */
h1 {
    text-align: center;
    color: #003366; /* 深蓝色标题 */
    font-size: 28px;
    margin-bottom: 30px;
}

/* 查询表单样式 */
.search-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.search-form input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #cccccc;
    width: 300px;
    font-size: 16px;
}

.search-form button,
.search-form.button {
    padding: 10px 20px;
    background-color: #0077cc; /* 蓝色按钮 */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-form button:hover,
.search-form.button:hover {
    background-color: #005599; /* 深蓝色按钮悬停 */
}

/* 通用按钮样式 */
.button,
.delete-btn {
    padding: 10px 20px;
    background-color: #0077cc; /* 蓝色按钮 */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin: 5px;
}

.button:hover,
.delete-btn:hover {
    background-color: #005599; /* 深蓝色按钮悬停 */
}

/* 删除按钮特殊样式 */
.delete-btn {
    background-color: #005599; /* 深蓝色删除按钮 */
}

.delete-btn:hover {
    background-color: #003366; /* 更深的蓝色按钮悬停 */
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: #0077cc; /* 蓝色表头 */
    color: white;
}

td {
    background-color: #f9f9f9;
}

tr:nth-child(even) td {
    background-color: #f1f1f1;
}

tr:hover td {
    background-color: #e0f7fa; /* 浅蓝色悬停效果 */
}

/* 并排显示按钮 */
.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}